//
//  YBCycleView.h
//  YBCycleView
//
//  Created by 陈亚勃 on 15/12/29.
//  Copyright © 2015年 cyb. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void (^TapCycleView)(NSInteger index);
@interface YBCycleView : UIView

@property (nonatomic, copy) TapCycleView tapCycleViewBlock;

@property (nonatomic, assign) NSTimer *animationTimer;

- (instancetype)initWithFrame:(CGRect)frame images:(NSArray<UIImage *> *)images withAnimationTimer:(NSTimeInterval)time;
@end
